package com.xl6667.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xl6667.domain.ResponseResult;
import com.xl6667.domain.dto.AddRoel;
import com.xl6667.domain.entity.Role;

import java.util.List;

/**
* @author 熊磊
* @description 针对表【sys_role(角色信息表)】的数据库操作Service
* @createDate 2024-03-21 13:17:30
*/
public interface RoleService extends IService<Role> {

    List<String> selectRoleKeyByUserId(Long id);

    ResponseResult getRoleList(Integer pageNum, Integer pageSize, String roleName, String status);

    ResponseResult changeStatusRole(Role role);

    ResponseResult addRole(AddRoel addRoel);

    ResponseResult getRole(Long id);

    ResponseResult putRole(AddRoel addRoel);

    ResponseResult delRole(Long id);

    ResponseResult getListAllRole();
}
